home *** CD-ROM | disk | FTP | other *** search
- Path: ups02.cit.cornell.edu!user
- From: jsm16@cornell.edu (James Margaris)
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: Re: Young programmers read me.
- Date: Thu, 11 Apr 1996 09:59:08 -0400
- Organization: Cornell University
- Sender: jsm16@cornell.edu (Verified)
- Message-ID: <jsm16-1104960959080001@ups02.cit.cornell.edu>
- References: <4icpp9$7hr@barad-dur.nas.com> <aidan-0404961557290001@meathook.intac.com> <3165AD94.6F3A@datalytics.com> <j-jahnke-0604960016160001@ntcs-ip8.uchicago.edu> <4keejc$lpi@tpd.dsccc.com> <Pine.OSF.3.91.960411093444.20958D-100000@bud.cc.swin.edu.au> <gfarrow.829193316@rainbow>
- NNTP-Posting-Host: ups02.cit.cornell.edu
-
- In article <gfarrow.829193316@rainbow>, gfarrow@rainbow.rmii.com (Glenn
- Farrow) wrote:
-
- > John Joseph Newbigin <079519@bud.cc.swin.edu.au> writes:
- >
- > >But it is a lot easier to read
- >
- > >if(something_happened)
- > >{
- > > do_something_else();
- > >}
- > >is_n't_it(); :)
- >
- > Nonesense. This style is extremely annoying because it spreads the code out
- > too much, it increases the amount you have to page around a source file.
- > Putting "{" on a separate line is a waste of space that should be occupied
- > by code.
- >
- > Glenn
-
- It seems to me that addding a few extra lines is well worth the
- readability. Matching up curly braces is so much easier when they are
- indented to the same level.
-
- James Margaris
-